package org.fast.develop.logicflow.runtime;

import org.fast.develop.logicflow.core.meta.shape.LogicFlowDefinition;
import org.fast.develop.logicflow.runtime.debug.ExecuteDebugConfig;
import org.fast.develop.logicflow.runtime.instance.LogicFlowInstance;

import java.util.Map;

/**
 * @author 莫寅
 * @createTime 2022-12-20 02:41
 * @desc：
 */
public interface LogicRuntimeService {


    public LogicFlowInstance startProcessInstanceByKey(String key, Map variables);

    public LogicFlowInstance execute(String jsonSchema, Map variables);


    public LogicFlowInstance execute(LogicFlowDefinition logicFlowDefinition, Map variables, ExecuteDebugConfig debugConfig);
}
